<h1>{{ mediaFile.name }}</h1>
<a href="/randomMedia/login/">Login to upload?</a>

{% if mediaFile %}
    <img src="{{ mediaFile.file.url }}" />
{% else %}
    <p>No files present</p>
{% endif %}
<form action="/randomMedia/{{ mediaFile.id }}/vote/" method="post">
    <input type="radio" name="choice" id="1" value=1 />
    <label for="1">1</label><br />
    
    <input type="radio" name="choice" id="2" value=2 />
    <label for="2">2</label><br />
    
    <input type="radio" name="choice" id="3" value=3 />
    <label for="3">3</label><br />
    
    <input type="radio" name="choice" id="4" value=4 />
    <label for="4">4</label><br />
    
    <input type="radio" name="choice" id="5" value=5 />
    <label for="5">5</label><br />
<input type="submit" value="Vote" />
</form>

